package com.paipai.client;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.paipai.entity.Bidding;
import com.paipai.entity.Product;
@FeignClient(name="moon-paipai-product")
public interface ProductClient {
	//远程调用查看是否有到期商品
	@RequestMapping("/findProductEndDate")
	@ResponseBody
	Product findProductEndDate(@RequestParam("id") Integer id);
	
	
	
	
	//远程看看商品是否有竞价记录
	@RequestMapping("/Bidding/findEndDatebiddingByProId")
	@ResponseBody
	Bidding findEndDatebiddingByProId(@RequestParam("id") Integer id);

	
	
	
	
	

}
